# Retrieving DIC from INLA models quickly ####
MDIC <- function(model) {
if(class(model) == "list"){
model %>% map("dic") %>% map("dic")
}else{
model$dic$dic
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.